<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="taskId" name="taskId" th:value="${ztzbProcessProduct.processTaskId}" type="hidden">
                        <input id="procInsId" name="procInsId" th:value="${ztzbProcessProduct.procInsId}" type="hidden">
                        <input id="id" name="id" th:value="${ztzbProcessProduct.id}"
                               type="hidden">
                                                                                                                            <input id="piecework1"  th:value="${ztzbProcessProduct.piecework}" class="form-control" type="hidden">
                                                                                                                                                                                                                                                                                <div class="form-group">
                                            <label class="col-sm-3 control-label">部门：</label>
                                            <div class="col-sm-8">
                                                <input id="deptName" name="deptName"
                                                       th:value="${ztzbProcessProduct.deptName}"
                                                       class="form-control" type="text">
                                            </div>
                                        </div>
                                                                                                                                                                                                                                                                                                                    <div class="form-group">
                                            <label class="col-sm-3 control-label">产品编号：</label>
                                            <div class="col-sm-8">
                                                <input id="productNumber" name="productNumber"
                                                       th:value="${ztzbProcessProduct.productNumber}"
                                                       class="form-control" type="text">
                                            </div>
                                        </div>
                                                                                                                                                                                                                                                                <div class="form-group">
                                            <label class="col-sm-3 control-label">产品名称：</label>
                                            <div class="col-sm-8">
                                                <input id="productName" name="productName"
                                                       th:value="${ztzbProcessProduct.productName}"
                                                       class="form-control" type="text">
                                            </div>
                                        </div>
                                                                                                                                                                                                                                                                <div class="form-group">
                                            <label class="col-sm-3 control-label">规格型号：</label>
                                            <div class="col-sm-8">
                                                <input id="specificationModel" name="specificationModel"
                                                       th:value="${ztzbProcessProduct.specificationModel}"
                                                       class="form-control" type="text">
                                            </div>
                                        </div>
                                                                                                                                                                                                                                                                <div class="form-group">
                                            <label class="col-sm-3 control-label">单位：</label>
                                            <div class="col-sm-8">
                                                <input id="unit" name="unit"
                                                       th:value="${ztzbProcessProduct.unit}"
                                                       class="form-control" type="text">
                                            </div>
                                        </div>
                                                                                                                                                                                                                                                                <div class="form-group">
                                            <label class="col-sm-3 control-label">备注：</label>
                                            <div class="col-sm-8">
                                                <input id="remarks" name="remarks"
                                                       th:value="${ztzbProcessProduct.remarks}"
                                                       class="form-control" type="text">
                                            </div>
                                        </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <div class="form-group">
                                            <label class="col-sm-3 control-label">计件或工时：</label>
                                            <div class="col-sm-8">
                                                <select id="piecework" name="piecework"
                                                        class="form-control" type="text" >
                                                    <option value="">请选择</option>
                                                </select>
                                            </div>
                                        </div>
                                                                                                                                                <input id="taskPass" name="taskPass" class="hidden">
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary" onclick="$
                                ('#taskPass').val('1')">提交
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
    document.write("<script type='text/javascript' src='/js/appjs/ztzb/ztzbProcessProduct/edit.js?r=" + Math.random() + "'></s" + "cript>");
</script>
<script type="text/javascript">
    document.write("<script type='text/javascript' src='/js/appjs/ztzb/ztzbProcessProduct/common.js?r=" + Math.random() + "'></s" + "cript>");
</script>
</body>
</html>
